﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace MyCompany.WebCrawler.Test
{
    [TestClass]
    public abstract class Context
    {
        public virtual void Arrange(){}
        public virtual void Act() {}
        public virtual void ArrangeContext() { }
        public virtual void TeardownContext() { }
        public virtual void Teardown() { }

        [TestInitialize]
        public void MainSetup()
        {
            ArrangeContext();
            Arrange();
            Act();
        }

        [TestCleanup]
        public virtual void MainTeardown()
        {
            Teardown();
            TeardownContext();
        }
    }
}